<style>
    #baseGoodsInventoryRecord-edit {
        padding: 20px 25px 25px 0;
    }
</style>
<div class="layui-fluid" id="baseGoodsInventoryRecord-edit">
    <form class="layui-form" action="" lay-filter="baseGoodsInventoryRecord-edit-form">
        <div class="layui-form-item febs-hide">
            <label class="layui-form-label febs-form-item-require">id：</label>
            <div class="layui-input-block">
                <input type="text" name="goodsInventoryRecordId" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item febs-hide">
            <label class="layui-form-label febs-form-item-require">租户：</label>
            <div class="layui-input-block">
                <input type="text" name="tenantId" autocomplete="off" class="layui-input"
                       maxlength="32" >
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-md12">
                <label class="layui-form-label febs-form-item-require">奖品名称：</label>
                <div class="layui-input-block">
                    <select name="goodsId" id="goodsId" lay-filter="goodsId" lay-search="" lay-verify="required">
                        <option value="">请选择商品</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs6">
            <div class="layui-form-item">
                <div class="layui-col-xs12">
                    <label class="layui-form-label febs-form-item-require">商品数量：</label>
                    <div class="layui-input-block">
                        <input type="number" name="operateNumber" lay-affix="number"  lay-precision="0" class="layui-input" value="1" lay-verify="required|number">
                    </div>
                </div>
            </div>
            <div class="layui-form-item ">
                <div class="layui-col-xs12">
                    <label class="layui-form-label layui-form-label-detail">商品库存：</label>
                    <div class="layui-input-block layui-input-block-html" id="inventory" data-th-text="--">
                    </div>
                </div>
            </div>
            <div class="layui-form-item ">
                <div class="layui-col-xs12">
                    <label class="layui-form-label  layui-form-label-detail">锁定库存：</label>
                    <div class="layui-input-block layui-input-block-html" id="lockNumber" data-th-text="--">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-xs6">
            <div class="layui-col-md12">
                <label class="layui-form-label detail">奖品图片：</label>
                <div class="layui-input-block">
                    <div id="fileUpload" style="height: 180px ;width: 100%">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item febs-hide">
            <div class="layui-row">
                <div class="layui-col-xs6">
                    <label class="layui-form-label febs-form-item-require">出入库类型：</label>
                    <div class="layui-input-block">
                        <input type="text" name="operateType" autocomplete="off" class="layui-input"
                               maxlength="2" lay-verify="required|number">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label ">备注：</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea" maxlength="900" placeholder="请输入备注"></textarea>
            </div>
        </div>
        <div class="layui-form-item febs-hide">
            <button class="layui-btn" lay-submit="" lay-filter="baseGoodsInventoryRecord-edit-form-submit" id="submit"></button>
            <button type="reset" class="layui-btn" id="reset"></button>
        </div>
    </form>
</div>
<script data-th-inline="javascript">
    var baseGoodsInventoryRecordData = [[${baseGoodsInventoryRecord}]];
</script>
<script th:src="@{/febs/js/base/baseGoodsInventoryRecord/baseGoodsInventoryRecordEdit.js(v=1)}"></script>